#ifndef     FLEXIBLE_2018
#define     FLEXIBLE_2018

#include    "../common.h"


//interface: obj which can update to change something by time
/* example:
class Person : public Flexible
{
private:
    TimeSeconds age;
public:
    Person():age(0){}
    virtual ~Person(){}
public:
    virtual void update(TimeSeconds time){age += time;}
};

Flexible* human = new Person();
human->update(time);
*/

class Flexible
{
public:
    virtual ~Flexible(){}

public:
    virtual void update(TimeSeconds time){}
};


#endif // FLEXIBLE_2018
